package nl.xs4all.dylanschell.deckprinter.guice;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
import nl.xs4all.dylanschell.deckprinter.WebModule;
import nl.xs4all.dylanschell.deckprinter.services.DeckPrinterModule;


public final class Bootstrap extends GuiceServletContextListener
{
    @Override
    protected Injector getInjector()
    {
        return Guice.createInjector(new DeckPrinterModule(), new WebModule());
    }
}
